﻿Namespace dal.dao
    Public Interface genericDAO(Of T, ID)
        Function FindByID(ByVal id As ID) As T
        Function FindAll() As IList(Of T)
        Function SaveOrUpdate(ByRef entity As T) As T
        Function Delete(ByRef entity As T) As T
        Function lock(ByRef entity As T) As T
    End Interface
End Namespace